package com.quectel.cms.vo.device.entranceguard;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotNull;

/**
 * 在这里编写说明
 *
 * @author: ryan
 * @email: ryan.ran@quectel.com
 * @date: 2023-08-28 15:12:00
 */

@Data
@Schema
public class EntranceGuardCancelAuthVo {
    @Schema(description = "人员 id")
    @NotNull
    private Long personId;

    @Schema(description = "1 指定设备 2 全部")
    @NotNull
    @Range(min = 1, max = 2)
    private Byte type;

    @Schema(description = "设备 id")
    private Long[] deviceIds;
}
